import request from '@/axios'

export const getMenuListApi = () => {
    return request.get({url: '/sys/menu/query'})
}

export const saveMenuApi = (data) => {
    return request.post({url: '/sys/menu/save', data: data})
}

export const delMenuApi = (ids) => {
    return request.post({url: '/sys/menu/dels', data: ids})
}
